import tiff

t = tiff.Tiff('/home/pieter/tmp/Foto2/test.tif')
t.setIPTCTag("Keywords", "Foo")
t.appendIPTCTag("Keywords", "Bar")
t.writeFile('/home/pieter/tmp/Foto2/test2.tif')
